#!/bin/bash

for filename in $(ls $1)
do
    echo "$filename $(python histograma.py $2 < $1/$filename)"
done